* {
    margin: 0;
    padding: 0;
}

.project-title {
    display: block;
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 10px 0;
}

.project-id {
    font-weight: bold;
    margin-right: 10px;
    font-family: Arial, sans-serif;
}

.project-body {
    display: block;
    width: 100%;
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin: 10px 0;
    padding: 20px;
}

.project-button {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    margin-right: 10px;
}

.project-body-up {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-body-down {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.project-body-down-span {
    color: red;
    margin-right: 5px;
}

.project-body-down-label {
    margin-left: 10px;
}

.project-body-down-div {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

.project-body-down-div-label {
    margin-right: 10px; 
    cursor: pointer;
    color: #1890ff;
}

.project-select {
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
}

.project-search {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    margin-right: 10px;
}

.p-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin: 16px 0 0 0;
    table-layout: fixed;
}

.p-table th, .p-table td {
    border: 1px solid #e0e0e0;
    padding: 6px 4px;
    text-align: center;
    font-size: 13px;
}

/* ID列宽度调整为40px */
.p-table th:nth-child(1), .p-table td:nth-child(1) { 
    width: 40px; 
}

.p-table th:nth-child(2), .p-table td:nth-child(2) { width: 80px; }
.p-table th:nth-child(3), .p-table td:nth-child(3) { width: 80px; }
.p-table th:nth-child(4), .p-table td:nth-child(4) { width: 100px; }
.p-table th:nth-child(5), .p-table td:nth-child(5) { width: 100px; }
.p-table th:nth-child(6), .p-table td:nth-child(6) { width: 100px; }
.p-table th:nth-child(7), .p-table td:nth-child(7) { width: 100px; }
.p-table th:nth-child(8), .p-table td:nth-child(8) { width: 80px; }
.p-table th:nth-child(9), .p-table td:nth-child(9) { width: 80px; }
.p-table th:nth-child(10), .p-table td:nth-child(10) { width: 120px; }
.p-table th:nth-child(11), .p-table td:nth-child(11) { width: 120px; }
.p-table th:nth-child(12), .p-table td:nth-child(12) { width: 200px; }

.p-table td:last-child {
    white-space: normal;
    min-width: 200px;
}

.p-table th {
    background: #f5f7fa;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.p-table tr:hover {
    background-color: #f5f7fa;
}

.p-table td {
    vertical-align: middle;
}

.p-table a {
    color: #3b6ed6;
    text-decoration: underline;
    cursor: pointer;
}

.p-status {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    display: inline-block;
}

.p-status-blue { background: #eaf3ff; color: #3b6ed6; }
.p-status-orange { background: #fff3e0; color: #ff9800; }
.p-status-red { background: #ffeaea; color: #e53935; }

.p-btn {
    border: none;
    border-radius: 4px;
    padding: 2px 12px;
    margin: 0 2px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    background: #3b6ed6;
}

.p-btn-orange { background: #ff9800; }
.p-btn-red { background: #e53935; }
.p-btn-green { background: #4caf50; }
.p-btn-blue { background: #3b6ed6; }
.p-btn-gray { background: #bdbdbd; color: #fff; }

.p-table-bottom {
    padding: 12px 0 0 8px;
    color: #666;
    font-size: 14px;
}

.pagination-container {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    padding: 8px 0;
}

/* 覆盖 antd 分页组件的默认样式 */
.pagination-container :global(.ant-pagination-item) {
    border-radius: 4px;
}

.pagination-container :global(.ant-pagination-item-active) {
    background-color: #3b6ed6;
    border-color: #3b6ed6;
}

.pagination-container :global(.ant-pagination-item-active a) {
    color: #fff;
}

.pagination-container :global(.ant-pagination-options) {
    margin-left: 16px;
}